package com.ajx.core.net.rest.exception;

public class ServerException extends RuntimeException {
    private String result;
    private String msg;

    public ServerException(String code, String msg) {
        this.result = code;
        this.msg = msg;
    }

    public String getResult() {
        return result;
    }

    public String getMsg() {
        return msg;
    }
}